package com.bean;

import java.util.ArrayList;
import java.util.List;

public class PageCustom<T> {

	private Integer pageNum;
	private Integer pageSize;
	private Long total;
	private Integer totalPage;
	
	private List<T> list = new ArrayList<T>();
	
	
	public Integer getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}

	

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return "PageCustom [pageNum=" + pageNum + ", pageSize=" + pageSize + ", total=" + total + ", totalPage="
				+ totalPage + ", list=" + list + "]";
	}
	

}
